package io.renren.modules.labonin.service.impl;

import com.baomidou.mybatisplus.core.toolkit.StringUtils;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.renren.modules.equipinfo.entity.EquipinfotableEntity;
import io.renren.modules.labon.entity.LableonlineEntity;
import io.renren.modules.posinfo.entity.Utype1Entity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;
import io.renren.modules.labonin.dao.LableonlineinfoDao;
import io.renren.modules.labonin.entity.LableonlineinfoEntity;
import io.renren.modules.labonin.service.LableonlineinfoService;
@Service("lableonlineinfoService")
public class LableonlineinfoServiceImpl extends ServiceImpl<LableonlineinfoDao, LableonlineinfoEntity> implements LableonlineinfoService {
    @Autowired
    LableonlineinfoDao lableonlineinfoDao;
    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<LableonlineinfoEntity> page = this.page(
                new Query<LableonlineinfoEntity>().getPage(params),
                new QueryWrapper<LableonlineinfoEntity>()
        );
        return new PageUtils(page);
    }
    @Override
    public List<Utype1Entity> listIsWork() {
        return lableonlineinfoDao.listIsWork();
    }

}